package org.jeecg.common.modules.group.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author guoyh
 * @ClassName ChatRecord
 * @Description
 * @since 2020/9/1 23:29
 **/
@Data
@TableName("chat_record")
public class ChatRecord {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("group_id")
    private String groupId;

    @TableField("sender_id")
    private String senderId;

    @TableField("msg")
    private String msg;

    @TableField("create_time")
    private Date createTime;

    @TableField("from_id")
    private String fromId;

    @TableField("oss_file_path")
    private String ossFilePath;
}
